package com.companion.companion.domain;


import java.util.Date;

/**
 * 护工陪护记录对象 carerecord
 * 
 * @author zly
 * @date 2025-05-06
 */
public class Carerecord
{

    /** 陪护记录ID */
    private Long careRecordId;

    /** 护工ID */
    private Long caregiverId;

    /** 用户ID */
    private Long userId;

    /** 对应的陪护需求ID */
    private Long requestId;

    /** 实际陪护开始时间 */
    private Date startTime;

    /** 陪护过程记录或备注 */
    private String notes;


    public Carerecord() {
    }

    public Carerecord(Long careRecordId, Long caregiverId, Long userId, Long requestId, Date startTime, String notes) {
        this.careRecordId = careRecordId;
        this.caregiverId = caregiverId;
        this.userId = userId;
        this.requestId = requestId;
        this.startTime = startTime;
        this.notes = notes;
    }

    /**
     * 获取
     * @return careRecordId
     */
    public Long getCareRecordId() {
        return careRecordId;
    }

    /**
     * 设置
     * @param careRecordId
     */
    public void setCareRecordId(Long careRecordId) {
        this.careRecordId = careRecordId;
    }

    /**
     * 获取
     * @return caregiverId
     */
    public Long getCaregiverId() {
        return caregiverId;
    }

    /**
     * 设置
     * @param caregiverId
     */
    public void setCaregiverId(Long caregiverId) {
        this.caregiverId = caregiverId;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return requestId
     */
    public Long getRequestId() {
        return requestId;
    }

    /**
     * 设置
     * @param requestId
     */
    public void setRequestId(Long requestId) {
        this.requestId = requestId;
    }

    /**
     * 获取
     * @return startTime
     */
    public Date getStartTime() {
        return startTime;
    }

    /**
     * 设置
     * @param startTime
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * 获取
     * @return notes
     */
    public String getNotes() {
        return notes;
    }

    /**
     * 设置
     * @param notes
     */
    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String toString() {
        return "Carerecord{careRecordId = " + careRecordId + ", caregiverId = " + caregiverId + ", userId = " + userId + ", requestId = " + requestId + ", startTime = " + startTime + ", notes = " + notes + "}";
    }
}
